package com.example.demo.service;

import com.example.demo.controller.data.ReturnData;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface UploadService {
    ReturnData uploadAvatar(MultipartFile file, String token) throws IOException;

    ReturnData uploadFile(MultipartFile file, int type, String token) throws IOException;
}
